Skip to content

Fixed year calculation due to operator precedence#1

Merged
afaonline merged 1 commit intomasterfrom
afaonline-patch-1
Jun 21, 2021
Merged

Fixed year calculation due to operator precedence#1
afaonline merged 1 commit intomasterfrom
afaonline-patch-1

Conversation

@afaonline
Copy link
Owner

I noticed wrong results on Seeduino Xiao, it turned out that year byte was wrong due to operator precedence: 2021 - 2000 // 10 = 1821, not 2

@afaonline afaonline merged commit a190bc5 into master Jun 21, 2021
@afaonline afaonline deleted the afaonline-patch-1 branch June 21, 2021 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant